#define UART0 0x10000000L

// virtio mmio interface
#define VIRTIO0 0x10001000

// qemu puts platform-level interrupt controller (PLIC) here.
#define PLIC 0x0c000000L

// the kernel expects there to be RAM
// for use by the kernel and user pages
// from physical address 0x80000000 to PHYSTOP.
#define KERNBASE 0x80000000L
#define PHYSTOP (KERNBASE + 128*1024*1024)
